package lingou.homework.postbar.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import lingou.homework.postbar.domain.Box;
import lingou.homework.postbar.domain.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    List<Message> getMessages(int start, int count, boolean unread, long userId);
}
